From: Marco Trevisan (TreviƱo) Date: Tue, 9 Apr 2019 23:26:19 +0000 (-0500) Subject: workspaceSwitcherPopup: Remove this.actor definition to self X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~845^2^2~263 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=2d30e310bc606fb59b234cd99513e55cc20eccc4;p=gnome-shell.git workspaceSwitcherPopup: Remove this.actor definition to self Remove this.actor = actor, since the class is now an actor itself. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/487 --- diff --git a/js/ui/workspaceSwitcherPopup.js b/js/ui/workspaceSwitcherPopup.js index 26404eaab..648bc63fb 100644 --- a/js/ui/workspaceSwitcherPopup.js +++ b/js/ui/workspaceSwitcherPopup.js @@ -85,8 +85,6 @@ class WorkspaceSwitcherPopup extends St.Widget { height: global.screen_height, style_class: 'workspace-switcher-group' }); - this.actor = this; - Main.uiGroup.add_actor(this); this._timeoutId = 0; @@ -142,7 +140,7 @@ class WorkspaceSwitcherPopup extends St.Widget { time: ANIMATION_TIME, transition: 'easeOutQuad' }); - this.actor.show(); + this.show(); } display(direction, activeWorkspaceIndex) {